package com.lbt.eduservice.client;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

@Component
@FeignClient(value = "service-order")
public interface OrderClient {
    @ApiOperation("根据客程ID  用户ID 查询课程的支付状态")
    @GetMapping("/eduorder/order/isBuyCourse/{courseId}/{memberId}")    //全路径
    public boolean isBuyCourse(@PathVariable("courseId") String courseId,@PathVariable("memberId") String memberId);
}
